package com.yangtao.springbootfreemarker.domain.sys.service;

import com.yangtao.core.jpa.service.BaseJpaService;
import com.yangtao.springbootfreemarker.domain.sys.entity.SysUser;

import java.util.List;

public interface SysUserService extends BaseJpaService<SysUser, String> {



    /**
     * 获取用户列表信息
     * @param username
     * @return
     */
    SysUser getSysUserInfoByName(String username);

	/**
	 * 获取当前用户的所有菜单权限
	 * @param userId
	 * @return
	 */
	List<String> queryAllPerms(String userId);
}
